package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 时段余量对象 hospital_subscribe_schedule_capacity
 * 
 * @author ruoyi
 * @date 2025-04-28
 */
@Data
public class HospitalSubscribeScheduleCapacity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 预约日id */
    @Excel(name = "预约日id")
    private Long daysId;

    /** 时段模板ID */
    @Excel(name = "时段模板ID")
    private Long templateId;

    /** 剩余可约数 */
    @Excel(name = "剩余可约数")
    private Long availableSlots;

    private Integer isEnable;

    @Excel(name = "预约日时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date days;

    @Excel(name = "时段模板名称")
    private String templateName;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;
}
